{% extends '::front-base.html.twig' %}

{% block body -%}
<div>
    <h3>Pasajero N&ordm; {{ count+1 }}</h3>
    <div>
        <form action="{{ path('front_reservar_vuelo_dos', {'id_res': id_res, 'cantPers':cantPers, 'count': count }) }}" method="post" {{ form_enctype(form) }}>
            <div style="padding-left: 10px; color: red;">{#{ form_errors(form) }#}</div>
            <div class="ui-widget">
                <fieldset class="label_side top right">
                    <label>Apellido: </label>
                        {{ form_widget(form.apellido) }}
                    <span class="form-erros">
                        {{ form_errors(form.apellido) }}
                    </span>
                </fieldset>
                <fieldset class="label_side top right">
                    <label>Nombre: </label>
                        {{ form_widget(form.nombre) }}
                    <span class="form-erros">
                        {{ form_errors(form.nombre) }}
                    </span>
                </fieldset>
                <fieldset class="label_side top right">
                    <label>Tipo Doc: </label>
                        {{ form_widget(form.tipoDoc) }}
                    <label>N&ordm; Doc.: </label>
                        {{ form_widget(form.nroDoc) }}
                    <span class="form-erros">
                        {{ form_errors(form.nroDoc) }}
                    </span>
                </fieldset>
                <fieldset class="label_side top right">
                    <label>Tipo Persona: </label>
                        {{ form_widget(form.tipoPersona) }}
                    <span class="form-erros">
                        {{ form_errors(form.tipoPersona) }}
                    </span>
                </fieldset>
                <fieldset class="label_side top right">
                    <label>Asiento: </label>
                        {{ form_widget(form.asiento) }}
                    <span class="form-erros">
                        {{ form_errors(form.asiento) }}
                    </span>
                </fieldset>
            </div>
            <br/>
            <br/>
            <button type="submit">Siguiente ></button>
        </form>
    </div>
</div>
{% endblock %}

